package com.bsi.app.srvc;

import com.kuaikan.cnbeta.srvc.NewsSrvc;

import android.content.Context;


public class SrvcFactory {
	/**
	 * 单例的实现
	 */
	public static SrvcFactory singleton = null;

	private SrvcFactory(Context context) {
		this.context = context;
	}

	public static synchronized SrvcFactory getInstance(Context context) {
		if (singleton == null) {
			singleton = new SrvcFactory(context);
		}
		return singleton;
	}

	private Context context;
	
//	public BloodService getBloodService(){
//		return BloodService.getInstance(context);
//	}
//	public HeartRateService getHeartRateService(){
//		return HeartRateService.getInstance(context);
//	}
	
	public NewsSrvc getNewsSrvc(){
		return NewsSrvc.getInstance(context);
	}
	

}
